<?php
/**
 * Created by PhpStorm.
 * User: ly
 * Date: 2017\12\14 0014
 * Time: 14:32
 */
?>

<style type="text/css">
    .perfect-information .form-group {
        margin-bottom: 5px;
    }
</style>


    <img src="/image/assetPackage/edit.png" class="edit-img" id="baseInfoEdit" >
    <div class="perfect-logo ">
        <img src="/image/officeHall/uploadAssetPackage/wsxx.png" class="pull-left">
        <span class="pull-left">完善信息</span>
    </div>

    <form class="form-horizontal" id="infoForm">
        <!-- 1 -->
        <div class="form-group">
            <label for="" class="pull-left control-label">资产包名称</label>
            <div class="pull-left label-div">
                <input type="text" class="form-control" id="" value="<?PHP echo $data['title']?>" disabled="disabled">
            </div>
        </div>
        <!-- 2 -->
        <div class="form-group">
            <label class="pull-left control-label">公开部门</label>
            <div class="pull-left label-div label-div2">
                <p class="form-control-static" style="font-size: 14px; color: #333; padding-left: 12px;"><?php echo $data['access_users'];?></p>
            </div>
        </div>
        <!-- 3 -->
        <div class="form-group">
            <label for="" class="pull-left control-label">资产包类型</label>
            <div class="pull-left label-div">
                <input type="text" class="form-control" id="" value="<?PHP $package_type=Yii::$app->params['package_type'];echo $package_type[$data['type']];?>" disabled="disabled">
            </div>
        </div>
        <!-- 4 -->
        <div class="form-group">
            <label for="inputText4" class="pull-left control-label ">持包人名称</label>
            <div class="pull-left label-div">
                <input type="text" class="form-control" id="" value="<?php echo $data['creditor']?>" disabled="disabled">
            </div>
        </div>
        <!-- 5 -->
        <div class="form-group">
            <label for="inputText5" class="pull-left control-label">省份地区</label>
            <div class="pull-left label-div">
                <?php if($data['countrylist']['city'] != '') { ?>
                    <input type="text" class="form-control" id="" value="<?php echo $data['countrylist']['province'] . '&nbsp;&nbsp;' . $data['countrylist']['city'];?>" disabled="disabled">
                <?php  } else {?>
                    <input type="text" class="form-control" id="" value="<?php echo $data['countrylist']['province'];?>" disabled="disabled">
                <?php } ?>
            </div>
        </div>
        <!-- 5 -->
        <!--                        <div class="form-group">-->
        <!--                            <label for="inputText5" class="pull-left control-label">币种</label>-->
        <!--                            <div class="pull-left label-div">-->
        <!--                                <input type="text" class="form-control" id="" value="人民币" disabled="disabled">-->
        <!--                            </div>-->
        <!--                        </div>-->
        <!-- 6 -->
        <div class="form-group">
            <label for="" class="pull-left control-label">本金（元）</label>
            <div class="pull-left label-div">
                <input type="text" class="form-control" id="" value="<?PHP echo Yii::$app->formatter->asDecimal($data['principal'])?>" disabled="disabled">
            </div>
        </div>
        <!-- 7 -->
        <div class="form-group">
            <label for="" class="pull-left control-label">利息（元）</label>
            <div class="pull-left label-div">
                <input type="text" class="form-control" id="" value="<?PHP echo Yii::$app->formatter->asDecimal($data['interest'])?>" disabled="disabled">
            </div>
        </div>
        <!-- 8 -->
        <div class="form-group">
            <label for="" class="pull-left control-label">剩余户数</label>
            <div class="pull-left label-div">
                <input type="text" class="form-control" id="" value="<?PHP echo $data['hushu']?>户" disabled="disabled">
            </div>
        </div>

        <!-- 资产包信息来源 -->
        <div class="form-group">
            <label for="" class="pull-left control-label">资产包信息来源</label>
            <div class="pull-left label-div label-div2">
                <pre id="origin" style="padding-bottom: 0; margin-bottom: 0;"><?PHP echo $data['origin'];?></pre>
            </div>
        </div>

        <!-- 9 -->
        <div class="form-group mb0">
            <label for="inputText9" class="pull-left control-label">其他补充</label>
            <div class="pull-left label-div label-div2">
                <pre class="mb0" style="padding-left: 12px;"><?PHP echo $data['detail']?></pre>
            </div>
        </div>

    </form>

